package com.alinesno.cloud.initializr.starter.entity;

import com.alinesno.cloud.common.facade.mapper.entity.BaseEntity;
import com.alinesno.sdk.generator.table.annotation.Column;
import com.alinesno.sdk.generator.table.annotation.ColumnComment;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * <p>
 *
 * </p>
 *
 * @author ${author}
 * @since 2020-11-20 10:06:08
 */
@TableName("build_application_templates")
public class BuildApplicationTemplatesEntity extends BaseEntity {

	private static final long serialVersionUID = 1L;
	
	@ColumnComment("模板图标")
    @Column(length = 2048)
    @TableField
	private String icons; // 模板图标
	
	@ColumnComment("模板名称")
    @Column(length = 64)
    @TableField
	private String name; // 模板名称
	
	@ColumnComment("模板类型")
    @Column(length = 64)
    @TableField
	private String templateType; // 模板类型
	
	@ColumnComment("业务类型")
    @Column(length = 64)
    @TableField
	private String businessType; // 业务类型
	
	@ColumnComment("使用次数")
    @Column(length = 8)
    @TableField
	private int useCount; // 使用次数
	
	@ColumnComment("使用说明")
    @Column(length = 128)
    @TableField
	private String remark; // 模板说明
	
	@ColumnComment("关联模板")
    @Column(length = 64)
    @TableField
	private String connectTemplateId; // 关联模板ID

	@ColumnComment("mavenXml")
    @Column(length = 512)
    @TableField
	private String mavenXml; // 依赖maven
	
	@ColumnComment("NpmJson")
    @Column(length = 512)
    @TableField
	private String npmJson; // 依赖npmJson
	
	@ColumnComment("PhpComposer")
    @Column(length = 512)
    @TableField
	private String composerJson; // 依赖phpcomposer

	public String getConnectTemplateId() {
		return connectTemplateId;
	}

	public void setConnectTemplateId(String connectTemplateId) {
		this.connectTemplateId = connectTemplateId;
	}

	public String getMavenXml() {
		return mavenXml;
	}

	public void setMavenXml(String mavenXml) {
		this.mavenXml = mavenXml;
	}

	public String getNpmJson() {
		return npmJson;
	}

	public void setNpmJson(String npmJson) {
		this.npmJson = npmJson;
	}

	public String getComposerJson() {
		return composerJson;
	}

	public void setComposerJson(String composerJson) {
		this.composerJson = composerJson;
	}

	public String getIcons() {
		return icons;
	}

	public void setIcons(String icons) {
		this.icons = icons;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getTemplateType() {
		return templateType;
	}

	public void setTemplateType(String templateType) {
		this.templateType = templateType;
	}

	public String getBusinessType() {
		return businessType;
	}

	public void setBusinessType(String businessType) {
		this.businessType = businessType;
	}

	public int getUseCount() {
		return useCount;
	}

	public void setUseCount(int useCount) {
		this.useCount = useCount;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

}
